﻿//#define ENABLE_PARSER_DEBUG_OUTPUT

#region Using directives

using System;
using System.Collections.Generic;
using System.Text;

#endregion



namespace Weazel.Gezel.Parser
{
  public static class ParserDebug
  {
    public static void WriteLine(string s, ConsoleColor color)
    {
#if ENABLE_PARSER_DEBUG_OUTPUT
      Console.ForegroundColor = color;
      Console.WriteLine(s);
      Console.ResetColor();
#endif
    }

    public static void WriteLine(string s)
    {
#if ENABLE_PARSER_DEBUG_OUTPUT
      Console.WriteLine(s);
#endif
    }
  }
}
